package IMIC.NGUYENVANTINH.OOP.LEVEL2.EX2;

public class Views {
	public static void main(String[] args) {
		//1.Khoi tao doi tuong Octagon
		Octagon objOctagon = new Octagon();
		//2.setup values.
		objOctagon.setSide(5);
		//3.Hiển thị thông tin.
		System.out.print("Octagon has side is:" + objOctagon.getSide());
		System.out.println();
		//3.Khoi tao controllers de thuc thi yeu cau
		Controllers controllers = new Controllers();
		System.out.print("Area is: "+controllers.Area(objOctagon));
		System.out.println();
		System.out.print("Perimeter is:" + controllers.Perimeter(objOctagon));
	}

}
